package com.photoveil;

public class Change {
	
	public static final int CHANGE_TYPE_NEW_LAYER = 1;
	public static final int CHANGE_TYPE_TRANSPARENCY = 2;
	public static final int CHANGE_TYPE_DELETE_LAYER = 3;
	
	private Layer layer;
	private int changeType;
	private int oldValue;
	private int newValue;
	
	public Change(Layer layer, int changeType, int oldValue, int newValue) {
		this.layer = layer;
		this.changeType = changeType;
		this.oldValue = oldValue;
		this.newValue = newValue;
	}
	
	public Layer getLayer() {
		return layer;
	}
	public void setLayer(Layer layer) {
		this.layer = layer;
	}
	public int getChangeType() {
		return changeType;
	}
	public void setChangeType(int changeType) {
		this.changeType = changeType;
	}

	public int getOldValue() {
		return oldValue;
	}

	public void setOldValue(int oldValue) {
		this.oldValue = oldValue;
	}

	public int getNewValue() {
		return newValue;
	}

	public void setNewValue(int newValue) {
		this.newValue = newValue;
	}
	
	
}
